<?php
/**
 * Created by PhpStorm.
 * User: liu
 * Date: 2018/5/15
 * Time: 16:35
 */

namespace app\helper;


class Response
{
    static public function returnMsg($return,$code=0,$msg='ok'){
        return json(['data'=>$return,'code'=>$code,'msg'=>$msg]);
    }
}